package com.gateon.hw.api.mobile;

import com.gateon.hw.base.annotation.EnableApiExcepition;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by gongweibing on 2020/2/24.
 */
@EnableDiscoveryClient
@ComponentScan("com.gateon.hw.api")
@EnableFeignClients(basePackages = {"com.gateon.hw.client.yunding",
            "com.gateon.hw.client.system"})
@SpringBootApplication
@EnableApiExcepition
@EnableCircuitBreaker
public class MobileApplication {
    public static void main(String[] args) {
        SpringApplication.run(MobileApplication.class);
    }
}
